package cn.blnp.net.flowable.boot.bean.dto;

import cn.blnp.net.flowable.boot.bean.enums.OpType;
import lombok.Data;
import org.flowable.common.engine.impl.persistence.entity.Entity;
import org.flowable.engine.impl.persistence.entity.HistoricProcessInstanceEntity;

/**
 * <h3></h3>
 *
 * @author <a href="mailto:blnp.yibin@qq.com">lyb</a>
 * @version 1.0
 * @since 2025/6/26 10:45
 */
@Data
public class HistoricProcessInstanceEntityMessage {

    private OpType opType;
    private HistoricProcessInstanceEntity entity;
    private long timestamp;
    public HistoricProcessInstanceEntityMessage(OpType opType, HistoricProcessInstanceEntity entity, long l) {
        this.opType = opType;
        this.entity = entity;
        this.timestamp = l;
    }
}
